-- GENERATED SPELL FOR [Defias Footpad] --


function spell0_481(pUnit, Event) --@Backstab,n/a--
pUnit:FullCastSpellOnTarget(7159,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_481', 562, 1)
end

function Sorts_481(pUnit, Event)
local choix_sorts_481 = math.random(0, 0)
if choix_sorts_481 == 0 then
pUnit:RegisterEvent('spell0_481', 1, 1)
end
end

function mob481_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_481', math.random(1500, 3000), 1)
end

function mob481_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob481_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob481_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(481, 1, 'mob481_Action')
RegisterUnitEvent(481, 2, 'mob481_Leave')
RegisterUnitEvent(481, 3, 'mob481_Kill')
RegisterUnitEvent(481, 4, 'mob481_Die')
